home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / Programming / MPW Interfaces & Libraries 3.1 / AIncludes / SysErr.a < prev    next >
Encoding:
Text File  |  1989-10-13  |  22.6 KB  |  483 lines  |  [TEXT/MPS ]

  1. ; Version: 2.69
  2. ; Created: Tuesday, September 19, 1989 at 10:00:41 AM
  3. ;
  4. ; File:SysErr.a
  5. ;
  6. ; Assembler Interface to the Macintosh Libraries
  7. ; Copyright Apple Computer, Inc. 1984-1988
  8. ; All Rights Reserved
  9. ;
  10. ; System Error Equates -- This file defines the equates for the Macintosh
  11. ; return error codes This is divided into two pieces for assembly
  12. ; space and speed considerations. The wholeErrors flag is used to include
  13. ; the less common equates which realizes a complete set.
  14. ;___________________________________________________________________________
  15.  
  16.                 IF            (&TYPE('wholeErrors') = 'UNDEFINED') THEN
  17. wholeErrors     EQU         0
  18.                 ENDIF
  19.  
  20.  
  21. ; General System Errors (VBL Mgr, Queueing, Etc.)
  22.  
  23. noErr            EQU         0                        ; 0 for success
  24. qErr            EQU         -1                        ; queue element not found during deletion
  25. vTypErr         EQU         -2                        ; invalid queue element
  26. corErr            EQU         -3                        ; core routine number out of range
  27. unimpErr        EQU         -4                        ; unimplemented core routine
  28. seNoDB            EQU         -8                        ; no debugger installed to handle debugger command
  29.  
  30. ; I/O System Errors
  31.  
  32. controlErr        EQU         -17                     ;Driver can't respond to Control call / Unimplemented control instruction
  33. statusErr        EQU         -18                     ;Driver can't respond to Status call
  34. readErr         EQU         -19                     ;Driver can't respond to Read call
  35. writErr         EQU         -20                     ;Driver can't respond to Write call
  36. badUnitErr        EQU         -21                     ;Driver reference number doesn't match unit table
  37. unitEmptyErr    EQU         -22                     ;Driver reference number specifies NIL handle in unit table
  38. openErr         EQU         -23                     ;Requested read/write permission doesn't match driver's open permission / Attempt to open RAM serial Driver failed
  39. closErr         EQU         -24                     ;Close error
  40. dRemovErr        EQU         -25                     ; tried to remove an open driver
  41. dInstErr        EQU         -26                     ; DrvrInstall couldn't find driver in resources
  42. abortErr        EQU         -27                     ; I/O request aborted by KillIO / I/O abort error
  43. iIOAbortErr     EQU         -27                     ; IO abort error (Printing Manager)
  44. notOpenErr        EQU         -28                     ; Couldn't rd/wr/ctl/sts cause driver not opened
  45.  
  46. ; File System error codes:
  47.  
  48. dirFulErr        EQU         -33                     ; File Directory full
  49. dskFulErr        EQU         -34                     ; disk full / All allocation blocks on the volume are full
  50. nsvErr            EQU         -35                     ; no such volume / Specified volume doesn't exist
  51. ioErr            EQU         -36                     ; I/O error (bummers)
  52. bdNamErr        EQU         -37                     ; Bad file name or volume name (perhaps zero length)
  53. fnOpnErr        EQU         -38                     ; File not open
  54. eofErr            EQU         -39                     ; Logical End-of-file reached during read operation
  55. posErr            EQU         -40                     ; Attempt to position to before start of file (r/w)
  56. mFulErr         EQU         -41                     ; memory full (open) or file won't fit (load)
  57. tmfoErr         EQU         -42                     ; too many files open
  58. fnfErr            EQU         -43                     ; File not found
  59. wPrErr            EQU         -44                     ; diskette is write protected
  60. fLckdErr        EQU         -45                     ; file is locked
  61. vLckdErr        EQU         -46                     ; volume is locked
  62. fBsyErr         EQU         -47                     ; File is busy (delete) one or more files are open
  63. dupFNErr        EQU         -48                     ; duplicate filename (rename)
  64. opWrErr         EQU         -49                     ; file already open with with write permission
  65. paramErr        EQU         -50                     ; error in user parameter list / Not an existing volume, and no default volume / Bad positioning information / Bad drive number
  66. rfNumErr        EQU         -51                     ; Path reference number specifies nonexistant access path
  67. gfpErr            EQU         -52                     ; get file position error
  68. volOffLinErr    EQU         -53                     ; volume not on line error (was Ejected)
  69. permErr         EQU         -54                     ; permissions error (on file open) / Attempt to open locked file for writing
  70. pixMapTooDeepErr  EQU        -148
  71. volOnLinErr     EQU         -55                     ; drive volume already on-line at MountVol
  72. nsDrvErr        EQU         -56                     ; no such drive (tried to mount a bad drive num)
  73. noMacDskErr     EQU         -57                     ; not a mac diskette (sig bytes are wrong)
  74. extFSErr        EQU         -58                     ; volume in question belongs to an external fs
  75. fsRnErr         EQU         -59                     ; file system internal error: problem during rename
  76. ; during rename the old entry was deleted but could
  77. ; not be restored . . .
  78. badMDBErr        EQU         -60                     ; bad master directory block: must reinitialize volume
  79. wrPermErr        EQU         -61                     ; Read/write permission doesn't allow writing
  80.  
  81. ; Font Manager Error Codes
  82.  
  83. fontDecError    EQU         -64                     ; error during font declaration
  84. fontNotDeclared   EQU        -65                     ; font not declared
  85. fontSubErr        EQU         -66                     ; font substitution occured
  86.  
  87. ; Disk, Serial Ports, Clock Specific Errors
  88.  
  89. firstDskErr     EQU         -84
  90. lastDskErr        EQU         -64
  91. noDriveErr        EQU         -64                     ; drive not installed
  92. offLinErr        EQU         -65                     ; r/w requested for an off-line drive
  93. noNybErr        EQU         -66                     ; couldn't find 5 nybbles in 200 tries / disk is probably blank
  94. noAdrMkErr        EQU         -67                     ; couldn't find valid addr mark
  95. dataVerErr        EQU         -68                     ; read verify compare failed
  96. badCksmErr        EQU         -69                     ; addr mark checksum didn't check
  97. badBtSlpErr     EQU         -70                     ; bad addr mark bit slip nibbles
  98. noDtaMkErr        EQU         -71                     ; couldn't find a data mark header
  99. badDCksum        EQU         -72                     ; bad data mark checksum
  100. badDBtSlp        EQU         -73                     ; bad data mark bit slip nibbles
  101. wrUnderrun        EQU         -74                     ; write underrun occurred
  102. cantStepErr     EQU         -75                     ; step handshake failed
  103. tk0BadErr        EQU         -76                     ; track 0 detect doesn't change
  104. initIWMErr        EQU         -77                     ; unable to initialize IWM
  105. twoSideErr        EQU         -78                     ; tried to read 2nd side on a 1-sided drive
  106. spdAdjErr        EQU         -79                     ; unable to correctly adjust disk speed
  107. seekErr         EQU         -80                     ; track number wrong on address mark
  108. sectNFErr        EQU         -81                     ; sector number never found on a track
  109. fmt1Err         EQU         -82                     ; can't find sector 0 after track format
  110. fmt2Err         EQU         -83                     ; can't get enough sync
  111. verErr            EQU         -84                     ; track failed to verify
  112.  
  113.  
  114. clkRdErr        EQU         -85                     ; unable to read same clock value twice
  115. clkWrErr        EQU         -86                     ; time written did not verify
  116. prWrErr         EQU         -87                     ; parameter ram written didn't read-verify
  117. prInitErr        EQU         -88                     ; InitUtil found the parameter ram uninitialized
  118. rcvrErr         EQU         -89                     ; SCC receiver error (framing, parity, OR)
  119. breakRecd        EQU         -90                     ; Break received (SCC)
  120.  
  121. ; AppleTalk error codes
  122.  
  123. ddpSktErr        EQU         -91                     ; error in soket number
  124. ddpLenErr        EQU         -92                     ; data length too big
  125. noBridgeErr     EQU         -93                     ; no network bridge for non-local send
  126. lapProtErr        EQU         -94                     ; error in attaching/detaching protocol
  127. excessCollsns    EQU         -95                     ; excessive collisions on write
  128. portInUse        EQU         -97                     ; driver Open error code (port is in use)
  129. portNotCf        EQU         -98                     ; driver Open error code (parameter RAM not
  130. ; Power Manager Errors
  131. pmBusyErr        EQU         -13000                    ; Pmgr never ready to start handshake
  132. pmReplyTOErr    EQU         -13001                    ; Timed out waiting for reply
  133. pmSendStartErr    EQU         -13002                    ; during send, pmgr did not start hs
  134. pmSendEndErr    EQU         -13003                    ; During send, pmgr did not finish hs
  135. pmRecvStartErr    EQU         -13004                    ; During receive, pmgr did not start hs
  136. pmRecvEndErr    EQU         -13005                    ; During receive, pmgr did not finish hs
  137. ; configured for this connection)
  138. memROZErr        EQU         -99                     ; hard error in ROZ
  139.  
  140. ; Scrap Manager error codes
  141.  
  142. noScrapErr        EQU         -100                    ; No scrap exists error
  143. noTypeErr        EQU         -102                    ; No object of that type in scrap
  144.  
  145. ; Storage allocator error codes
  146.  
  147. memFullErr        EQU         -108                    ; Not enough room in heap zone
  148. nilHandleErr    EQU         -109                    ; Handle was NIL in HandleZone or other;
  149. memWZErr        EQU         -111                    ; WhichZone failed (applied to free block);
  150. memPurErr        EQU         -112                    ; trying to purge a locked or non-purgeable block;
  151. memAdrErr        EQU         -110                    ; address was odd, or out of range;
  152. memAZErr        EQU         -113                    ; Address in zone check failed;
  153. memPCErr        EQU         -114                    ; Pointer Check failed;
  154. memBCErr        EQU         -115                    ; Block Check failed;
  155. memSCErr        EQU         -116                    ; Size Check failed;
  156. memLockedErr    EQU         -117                    ; trying to move a locked block (MoveHHi)
  157.  
  158. ; New system error codes :
  159.  
  160. dirNFErr        EQU         -120                    ; Directory not found
  161. tmwdoErr        EQU         -121                    ; No free WDCB available
  162. badMovErr        EQU         -122                    ; Move into offspring error
  163. wrgVolTypErr    EQU         -123                    ; Wrong volume type error
  164. ; [operation not supported for MFS] 
  165. volGoneErr        EQU         -124                    ; Server volume has been disconnected.
  166. ; error codes -130 to -140 reserved for HFS FileID calls <V1.7 DNF>
  167. fidNotFound     EQU         -130                    ; no file thread exists <V1.7 DNF>
  168. fidNotAFile     EQU         -131                    ; directory specified <V1.7 DNF>
  169. fidExists        EQU         -132                    ; file id already exists <V1.7 DNF>
  170.  
  171. ; Resource Manager error codes (other than I/O errors)
  172.  
  173. resNotFound     EQU         -192                    ; Resource not found
  174. resFNotFound    EQU         -193                    ; Resource file not found
  175. addResFailed    EQU         -194                    ; AddResource failed
  176. addRefFailed    EQU         -195                    ; AddReference failed
  177. rmvResFailed    EQU         -196                    ; RmveResource failed
  178. rmvRefFailed    EQU         -197                    ; RmveReference failed
  179. resAttrErr        EQU         -198                    ; attribute inconsistent with operation
  180. mapReadErr        EQU         -199                    ; map inconsistent with operation
  181.  
  182. ; Syserrs to be used instead of inline $A9FF and $ABFF
  183.  
  184. userBreak        EQU         -490                    ; user debugger break
  185. strUserBreak    EQU         -491                    ; user debugger break; display string on stack
  186. exUserBreak     EQU         -492                    ; user debugger break; execute debugger commands on stack
  187.  
  188. ;______________________________________________________________
  189. ;
  190. ; some miscellaneous result codes
  191.  
  192. evtNotEnb        EQU         1                        ; event not enabled at PostEvent
  193.  
  194.  
  195.                 IF            wholeErrors THEN
  196.  
  197. ; System Error Alert ID definitions. These are just for reference because
  198. ; one cannot intercept the calls and do anything programmatically...
  199.  
  200. dsSysErr        EQU         32767                    ; general system error
  201. dsBusError        EQU         1                        ; bus error
  202. dsAddressErr    EQU         2                        ; address error
  203. dsIllInstErr    EQU         3                        ; illegal instruction error
  204. dsZeroDivErr    EQU         4                        ; zero divide error
  205. dsChkErr        EQU         5                        ; check trap error
  206. dsOvflowErr     EQU         6                        ; overflow trap error
  207. dsPrivErr        EQU         7                        ; privelege violation error
  208. dsTraceErr        EQU         8                        ; trace mode error
  209. dsLineAErr        EQU         9                        ; line 1010 trap error
  210. dsLineFErr        EQU         10                        ; line 1111 trap error
  211. dsMiscErr        EQU         11                        ; miscellaneous hardware exception error
  212. dsCoreErr        EQU         12                        ; unimplemented core routine error
  213. dsIrqErr        EQU         13                        ; uninstalled interrupt error
  214. dsIOCoreErr     EQU         14                        ; IO Core Error
  215. dsLoadErr        EQU         15                        ; Segment Loader Error
  216. dsFPErr         EQU         16                        ; Floating point error
  217. dsNoPackErr     EQU         17                        ; package 0 not present
  218. dsNoPk1         EQU         18                        ; package 1 not present
  219. dsNoPk2         EQU         19                        ; package 2 not present
  220. dsNoPk3         EQU         20                        ; package 3 not present
  221. dsNoPk4         EQU         21                        ; package 4 not present
  222. dsNoPk5         EQU         22                        ; package 5 not present
  223. dsNoPk6         EQU         23                        ; package 6 not present
  224. dsNoPk7         EQU         24                        ; package 7 not present
  225. dsMemFullErr    EQU         25                        ; out of memory!
  226. dsBadLaunch     EQU         26                        ; can't launch file
  227. dsFSErr         EQU         27                        ; file system map has been trashed
  228. dsStknHeap        EQU         28                        ; stack has moved into application heap
  229. dsReinsert        EQU         30                        ; request user to reinsert off-line volume
  230. dsNotThe1        EQU         31                        ; not the disk I wanted
  231. negZcbFreeErr    EQU         33                        ; ZcbFree has gone negative
  232. shutDownAlert    EQU         42                        ; handled like a shutdown error
  233. menuPrgErr        EQU         84                        ; happens when a menu is purged
  234. ;DSMbarNFnd EQU 85 ; SysErr -- cannot find MBDF <FJL PMAB143>
  235. ;DSHMenuFindErr EQU 86 ; SysErr -- recursively defined HMenus <FJL PMAB143>
  236. dsParityErr     EQU         101                     ; memory parity error <1.5><1.6>
  237.  
  238. ; serial driver error masks
  239. swOverrunErr    EQU         1                        ;Serial driver overrun error
  240. parityErr        EQU         16                        ;serial parity error
  241. hwOverrunErr    EQU         32                        ;serial hardware overrun
  242. framingErr        EQU         64                        ;serial framing error
  243.  
  244.                 ENDIF
  245.  
  246.  
  247. ;************ ADDITIONS MADE FOR NEW QUICKDRAW AND COLOR **************
  248. ; Note: the following error codes are also used but not documented anywhere obvious!!
  249. ;
  250. ; dsGreeting EQU 40 ; welcome to Macintosh greeting
  251. ; dsFinderErr EQU 41 ; can't load the Finder error
  252. ;
  253.  
  254. ;Slot Declaration ROM Manager Errors
  255.  
  256. siInitSDTblErr    EQU         1                        ;slot int dispatch table could not be initialized.
  257. siInitVBLQsErr    EQU         2                        ;VBLqueues for all slots could not be initialized.
  258. siInitSPTblErr    EQU         3                        ;slot priority table could not be initialized.
  259. sdmJTInitErr    EQU         10                        ;SDM Jump Table could not be initialized.
  260. sdmInitErr        EQU         11                        ;SDM could not be initialized.
  261. sdmSRTInitErr    EQU         12                        ;Slot Resource Table could not be initialized.
  262. sdmPRAMInitErr    EQU         13                        ;Slot PRAM could not be initialized.
  263. sdmPriInitErr    EQU         14                        ;Cards could not be initialized.
  264.  
  265. ; Menu Manager Errors
  266.  
  267. dsMBarNFnd        EQU         85                        ;Menu bar not found
  268. dsHMenuFindErr    EQU         86                        ;Menu find error
  269.  
  270. ; Color Quickdraw & Color Manager Errors
  271.  
  272. cMatchErr        EQU         -150                    ; Color2Index failed to find an index
  273. cTempMemErr     EQU         -151                    ; failed to allocate memory for temporary structures
  274. cNoMemErr        EQU         -152                    ; failed to allocate memory for structure
  275. cRangeErr        EQU         -153                    ; range error on colorTable request
  276. cProtectErr     EQU         -154                    ; colorTable entry protection violation
  277. cDevErr         EQU         -155                    ; invalid type of graphics device
  278. cResErr         EQU         -156                    ; invalid resolution for MakeITable
  279. ;Other toolbox ;
  280.  
  281. wdefNFnd        EQU         87                        ; could not load WDEF
  282. cdefNFnd        EQU         88                        ; could not load CDEF
  283.  
  284. ;more errors
  285.  
  286. unitTblFullErr    EQU         -29                     ; unit table has no more entries
  287. dceExtErr        EQU         -30                     ; dce extension error
  288. dsBadSlotInt    EQU         51                        ; unserviceable slot interrupt
  289. dsBadSANEopcode   EQU        81                        ; bad opcode given to SANE Pack4
  290. dsNoPatch        EQU         98                        ; Can't patch for particular Model Mac  <S429>
  291. dsBadPatch        EQU         99                        ; Can't load patch resource <PMAB335> <S348>
  292. memROZWarn        EQU         -99                     ; soft error in ROZ
  293. memROZError     EQU         -99                     ; hard error in ROZ
  294. updPixMemErr    EQU         -125                    ;insufficient memory to update a pixmap
  295.  
  296. ;Menu Manager
  297.  
  298. mBarNFnd        EQU         -126                    ; system error code for MBDF not found
  299. hMenuFindErr    EQU         -127                    ; could not find HMenu's parent in MenuKey
  300.  
  301. ;Sound Manager Error Returns
  302.  
  303. noHardware        EQU         -200                    ;Sound manager no hardware error
  304. notEnoughHardware EQU        -201                    ;Soundd manager not enough hardware error
  305. queueFull        EQU         -203                    ;Sound manager queue full
  306. resProblem        EQU         -204                    ;Sound manager res problem
  307. badChannel        EQU         -205                    ;Sound manager bad channel
  308. badFormat        EQU         -206                    ;Sound manager bad format
  309. ;Notification Manager Errors
  310. nmTypErr        EQU         -299                    ;Wrong queue type
  311.  
  312.  
  313. ;---The following errors may be generated during system Init. If they are,
  314. ; they will be logged into the sInfo array and returned each time a call
  315. ; to the slot manager is made (for the card wich generated the error).
  316.  
  317. ;Errors specific to the start mgr.
  318. smSDMInitErr    EQU         -290                    ;Error, SDM could not be initialized.
  319. smSRTInitErr    EQU         -291                    ;Error, Slot Resource Table could not be initialized.
  320. smPRAMInitErr    EQU         -292                    ;Error, Slot Resource Table could not be initialized.
  321. smPriInitErr    EQU         -293                    ;Error, Cards could not be initialized.
  322. smEmptySlot     EQU         -300                    ;No card in slot
  323. smCRCFail        EQU         -301                    ;CRC check failed for declaration data
  324. smFormatErr     EQU         -302                    ;FHeader Format is not Apple's 
  325. smRevisionErr    EQU         -303                    ;Wrong revison level
  326. smNoDir         EQU         -304                    ;Directory offset is Nil
  327. smLWTstBad        EQU         -305                    ;Long Word test field <> $5A932BC7. 
  328. smNosInfoArray    EQU         -306                    ;No sInfoArray. Memory Mgr error.
  329. smResrvErr        EQU         -307                    ;Fatal reserved error. Resreved field <> 0.
  330. smUnExBusErr    EQU         -308                    ;Unexpected BusError
  331. smBLFieldBad    EQU         -309                    ;ByteLanes field was bad.
  332. smFHBlockRdErr    EQU         -310                    ;Error occured during _sGetFHeader.
  333. smFHBlkDispErr    EQU         -311                    ;Error occured during _sDisposePtr (Dispose of FHeader block).
  334. smDisposePErr    EQU         -312                    ;_DisposePointer error
  335. smNoBoardSRsrc    EQU         -313                    ;No Board sResource.
  336. smGetPRErr        EQU         -314                    ;Error occured during _sGetPRAMRec (See SIMStatus).
  337. smNoBoardId     EQU         -315                    ;No Board Id.
  338. smInitStatVErr    EQU         -316                    ;The InitStatusV field was negative after primary or secondary init.
  339. smInitTblVErr    EQU         -317                    ;An error occured while trying to initialize the Slot Resource Table.
  340. smNoJmpTbl        EQU         -318                    ;SDM jump table could not be created.
  341. smBadBoardId    EQU         -319                    ;BoardId was wrong, re-init the PRAM record.
  342. smBusErrTO        EQU         -320                    ;BusError time out.
  343.  
  344. ;---The following errors are for primary or secondary init code.  The errors are logged in the
  345. ;vendor status field of the sInfo record.  Normally the vendor error is not Apple's concern,
  346. ;but a special error is needed to patch secondary inits.
  347.  
  348. svTempDisable    EQU         -32768                    ;Temporarily disable card but run primary init.
  349. svDisabled        EQU         -32640                    ;Reserve range -32640 to -32768 for Apple temp disables.
  350.  
  351.  
  352. ;---The following errors may be generated at any time after system Init and will not
  353. ; be logged into the sInfo array.
  354.  
  355. smBadRefId        EQU         -330                    ;Reference Id not found in List 
  356. smBadsList        EQU         -331                    ;Bad sList: Id1 < Id2 < Id3 ... format is not followed.
  357. smReservedErr    EQU         -332                    ;Reserved field not zero
  358. smCodeRevErr    EQU         -333                    ;Code revision is wrong 
  359. smCPUErr        EQU         -334                    ;Code revision is wrong
  360. smsPointerNil    EQU         -335                    ;LPointer is nil {From sOffsetData. If this error occurs, check sInfo rec for more information.}
  361. smNilsBlockErr    EQU         -336                    ;Nil sBlock error {Dont allocate and try to use a nil sBlock}
  362. smSlotOOBErr    EQU         -337                    ;Slot out of bounds error
  363. smSelOOBErr     EQU         -338                    ;Selector out of bounds error
  364. smNewPErr        EQU         -339                    ;_NewPtr error
  365. smBlkMoveErr    EQU         -340                    ;_BlockMove error
  366. smCkStatusErr    EQU         -341                    ;Status of slot = fail.
  367. smGetDrvrNamErr   EQU        -342                    ;Error occured during _sGetDrvrName.
  368. smDisDrvrNamErr   EQU        -343                    ;Error occured during _sDisDrvrName.
  369. smNoMoresRsrcs    EQU         -344                    ;No more sResources
  370. smsGetDrvrErr    EQU         -345                    ;Error occurred during _sGetDriver.
  371. smBadsPtrErr    EQU         -346                    ;Bad pointer was passed to sCalcsPointer
  372. smByteLanesErr    EQU         -347                    ;NumByteLanes was determined to be zero.
  373. smOffsetErr     EQU         -348                    ;Offset was too big (temporary error, should be fixed)
  374. smNoGoodOpens    EQU         -349                    ;No opens were successfull in the loop. 
  375. smSRTOvrFlErr    EQU         -350                    ;SRT over flow.
  376. smRecNotFnd     EQU         -351                    ;Record not found in the SRT.
  377.  
  378.  
  379. ;Device Manager Slot Support Error
  380.  
  381. slotNumErr        EQU         -360                    ; invalid slot # error
  382. gcrOnMFMErr     EQU         -400                    ; gcr format on high density media error
  383. rgnTooBigErr    EQU         -500                    ;region too big error
  384. teScrapSizeErr    EQU         -501                    ;scrap item too big for text edit record
  385. hwParamErr        EQU         -502                    ;bad selector for _HWPriv
  386.  
  387.  
  388. ; error codes for VM routines  ;
  389.  
  390. notEnoughMemoryErr EQU        -620                    ; insufficient physical memory <v1.4>
  391. notHeldErr        EQU         -621                    ; specified range of memory is not held <v1.4>
  392. cannotMakeContiguousErr EQU   -622                        ; cannot make specified range contiguous <v1.4>
  393. notLockedErr    EQU         -623                    ; specified range of memory is not locked <v1.4>
  394. interruptsMaskedErr EQU     -624                    ; don’t call with interrupts masked <v1.4>
  395. cannotDeferErr    EQU         -625                    ; unable to defer additional functions <v1.4>
  396.  
  397.  
  398. ; AppleTalk - NBP error codes
  399.  
  400. nbpBuffOvr        EQU         -1024                    ; Buffer overflow in LookupName
  401. nbpNoConfirm    EQU         -1025                    ; Name not confirmed on ConfirmName
  402. nbpConfDiff     EQU         -1026                    ; Name confirmed at different socket
  403. nbpDuplicate    EQU         -1027                    ; Duplicate name exists already
  404. nbpNotFound     EQU         -1028                    ; Name not found on remove
  405. nbpNISErr        EQU         -1029                    ; Error trying to open the NIS
  406.  
  407. ; ASP errors codes (XPP driver)
  408.  
  409. aspBadVersNum    EQU         -1066                    ; Server cannot support this ASP version
  410. aspBufTooSmall    EQU         -1067                    ; Buffer too small
  411. aspNoMoreSess    EQU         -1068                    ; No more sessions on server
  412. aspNoServers    EQU         -1069                    ; No servers at that address
  413. aspParamErr     EQU         -1070                    ; Parameter error
  414. aspServerBusy    EQU         -1071                    ; Server cannot open another session
  415. aspSessClosed    EQU         -1072                    ; Session closed
  416. aspSizeErr        EQU         -1073                    ; Command block too big
  417. aspTooMany        EQU         -1074                    ; Too many clients (server error)
  418. aspNoAck        EQU         -1075                    ; No ack on attention request (server err)
  419.  
  420. ;AppleTalk - ATP error codes
  421.  
  422. reqFailed        EQU         -1096                    ; SendRequest failed: retry count exceeded
  423. tooManyReqs     EQU         -1097                    ; Too many concurrent requests
  424. tooManySkts     EQU         -1098                    ; Too many concurrent responding-sockets
  425. badATPSkt        EQU         -1099                    ; Bad ATP-responding socket
  426. badBuffNum        EQU         -1100                    ; Bad response buffer number specififed
  427. noRelErr        EQU         -1101                    ; No release received
  428. cbNotFound        EQU         -1102                    ; Control Block (TCB or RspCB) not found
  429. noSendResp        EQU         -1103                    ; AddResponse issued without SendResponse
  430. noDataArea        EQU         -1104                    ; No data area for request to MPP
  431. reqAborted        EQU         -1105                    ; SendRequest aborted by RelTCB
  432. buf2SmallErr    EQU         -3101                    ;buffer too small error
  433. noMPPErr        EQU         -3102                    ;no MPP error
  434. ckSumErr        EQU         -3103                    ;check sum error
  435. extractErr        EQU         -3104                    ;extraction error
  436. readQErr        EQU         -3105                    ;read queue error
  437. atpLenErr        EQU         -3106                    ;ATP length error
  438. atpBadRsp        EQU         -3107                    ;ATP bad response error
  439. recNotFnd        EQU         -3108                    ;Record not found
  440. sktClosedErr    EQU         -3109                    ;Socket closed error
  441.  
  442. ; AFP errors codes (XPP driver)
  443.  
  444. afpAccessDenied   EQU        -5000                    ; AFP access denied
  445. afpAuthContinue   EQU        -5001                    ; AFP authorization continue
  446. afpBadUAM        EQU         -5002                    ; AFP bad UAM
  447. afpBadVersNum    EQU         -5003                    ;AFP bad version number
  448. afpBitmapErr    EQU         -5004                    ; AFP bit map error
  449. afpCantMove     EQU         -5005                    ; AFP can't move error
  450. afpDenyConflict   EQU        -5006                    ; AFP deny conflict
  451. afpDirNotEmpty    EQU         -5007                    ;AFP dir not empty
  452. afpDiskFull     EQU         -5008                    ;AFP disk full
  453. afpEofError     EQU         -5009                    ; AFP End-of-File error
  454. afpFileBusy     EQU         -5010                    ; AFP file busy
  455. afpFlatVol        EQU         -5011                    ; AFP flat volume
  456. afpItemNotFound   EQU        -5012                    ; AFP item not found
  457. afpLockErr        EQU         -5013                    ; AFP lock error
  458. afpMiscErr        EQU         -5014                    ; AFP misc error
  459. afpNoMoreLocks    EQU         -5015                    ; AFP no more locks
  460. afpNoServer     EQU         -5016                    ;AFP no server
  461. afpObjectExists   EQU        -5017                    ; AFP object already exists
  462. afpObjectNotFound EQU        -5018                    ; AFP object not found
  463. afpParmErr        EQU         -5019                    ; AFP parm error
  464. afpRangeNotLocked EQU        -5020                    ; AFP range not locked
  465. afpRangeOverlap   EQU        -5021                    ; AFP range overlap
  466. afpSessClosed    EQU         -5022                    ; AFP session closed
  467. afpUserNotAuth    EQU         -5023                    ;AFP user not authorized
  468. afpCallNotSupported EQU     -5024                    ; AFP call not supported
  469. afpObjectTypeErr  EQU        -5025                    ; AFP object type error
  470. afpTooManyFilesOpen EQU     -5026                    ; AFP too many files open
  471. afpServerGoingDown EQU        -5027                    ; AFP server going down
  472. afpCantRename    EQU         -5028                    ;AFP can't rename
  473. afpDirNotFound    EQU         -5029                    ;AFP directory not found
  474. afpIconTypeError  EQU        -5030                    ; AFP icon type error
  475. afpVolLocked    EQU         -5031                    ; Volume is Read-Only
  476. afpObjectLocked   EQU        -5032                    ; Object is M/R/D/W inhibited
  477.  
  478. ; SysEnvirons Errors
  479.  
  480. envNotPresent    EQU         -5500                    ; returned by glue environment not present.
  481. envBadVers        EQU         -5501                    ; Version non-positive , bad version number
  482. envVersTooBig    EQU         -5502                    ; Version bigger than call can handle
  483.